#ifndef __HANDLE_H__
#define __HANDLE_H__

#include "bsp_distance.h"
#include "bsp_motor.h"
#include "bsp_psw.h"
#include "Arduino.h"
#include "status.h"
#include "bsp_servo.h"
#include <HardwareSerial.h>
#include <stdint.h>

#define TIME_90 500
#define TIME_45 100

#define RED_TEAM '1'
#define BLUE_TEAM '2'
#define NO_TEAM '0'

extern int count;
extern  unsigned long beginTime;
extern unsigned long CDTime;

void outBack(void);
void objAttack(void);
void lockObj(void);
void awayObj(void);
void fallBack(void);
void getUpStage(void);

#endif
